package top.zhongyy.mapper;

import org.springframework.stereotype.Repository;
import top.zhongyy.pojo.Type;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Andy
 * @since 2021-03-25
 */
@Repository
public interface TypeMapper extends BaseMapper<Type> {
    
    // 获取所有分类
    List<Type> getAllType();
    
    
}
